package com.xujinchen.struct;

public class SwitchDemo02 {
    public static void main(String[] args) {
        String name="xu";
//
        switch (name){
            case"xu":
                System.out.println("xu");
                break;
            case"wang":
                System.out.println("wang");
                break;
            default:
                System.out.println("干嘛呢");

        }
    }
}
